Ext.define('App.store.Guide', {
    extend: 'Ext.data.Store',
    requires: 'App.model.News',
    
    
    config: {
        model: 'App.model.News',
		groupField: "subTypeName",  
		
		sorters:  [{
       		property : 'createTime',
        	direction: 'DESC'
    	}],
		
        proxy: {
            type: 'jsonp',
            url: 'http://www.51inews.com/inewsServer/findExamNewsVoPage.action?mainType=02',
			callbackKey: 'callback',
            reader: {
                type: 'json',
                rootProperty: 'root'
            }
        },
        
        autoLoad: true
		
    }

});
